package com.front.managementfront.agreement.service;

        import com.baomidou.mybatisplus.core.metadata.IPage;
        import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
        import com.baomidou.mybatisplus.extension.service.IService;
        import com.front.managementfront.agreement.entity.HktsAgreement;
        import com.hkts.management.common.utils.CustomPage;
        import com.hkts.management.common.utils.Result;

        import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-08-01
 */
public interface IHktsAgreementService extends IService<HktsAgreement> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hktsAgreement
     * @return
     */
    CustomPage<HktsAgreement> selectPage(Page<HktsAgreement> page, HktsAgreement hktsAgreement);

    List<HktsAgreement> selectList(HktsAgreement hktsAgreement);

    Result<String> boundGoodsCategory(String agreementId, String[] itemId);

    String hktsAgreementGetById(String id, String contractId);

    List<HktsAgreement> agrementList();

    Integer getMaxOrder();
}